package com.xoomworks.rsfr.core.service;

import com.xoomworks.rsfr.model.UserAuthentication;

/**
 * UserAuthentication service interface.
 *
 * @author bogdan.sbiera
 */
public interface UserAuthenticationService extends BaseService<UserAuthentication> {

    /**
     * Finds the not expired UserAuthentication object by (user) email and
     * appKey.
     *
     * @param email
     *            String
     * @param appKey
     *            String
     * @return the UserAuthentication object or null
     */
    public UserAuthentication findByEmailAndAppKey(String email, String appKey);

}
